package com.qingke.OMS.Pojo;

public class OrderItem {
	private int itemid;
	private int code;
	private int amount;
	private String subtotal;
	private int goodsId;
	private int ordersId;

	public OrderItem() {
		super();
	}

	public OrderItem(int itemid, int code, int amount, String subtotal, int goodsId, int ordersId) {
		super();
		this.itemid = itemid;
		this.code = code;
		this.amount = amount;
		this.subtotal = subtotal;
		this.goodsId = goodsId;
		this.ordersId = ordersId;
	}

	public int getItemid() {
		return itemid;
	}

	public void setItemid(int itemid) {
		this.itemid = itemid;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(String subtotal) {
		this.subtotal = subtotal;
	}

	public int getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}

	public int getOrdersId() {
		return ordersId;
	}

	public void setOrdersId(int ordersId) {
		this.ordersId = ordersId;
	}

	@Override
	public String toString() {
		return "OrderItem [itemid=" + itemid + ", code=" + code + ", amount=" + amount + ", subtotal=" + subtotal
				+ ", goodsId=" + goodsId + ", ordersId=" + ordersId + "]";
	}
	
	

}
